#include <iostream>

using namespace std;

extern const int nX;	//	defined in first.cpp

const int nBufferSize = 5; 

int main () {
	cout << "const example" <<endl;
	cout << "nX used from 'first.cppp', has a value of = " << nX << endl;
	
	int arr [nBufferSize] = {1, 2, 3, 4, 5};
	for (int i = 0; i<nBufferSize; i++){
		cout << "arr [" << i << "] = " << arr[i] << endl;
	}
	return 0;
}
